tg_arr = ['甲', '乙', '丙', '丁', '戊', '己', '庚', '辛', '壬', '癸']
dz_arr = ['子', '丑', '寅', '卯', '辰', '巳', '午', '未', '申', '酉', '戌', '亥']

for i in range(1949, 2026):
    tg_idx = (i-3) % 10 - 1
    dz_idx = (i-3) % 12 - 1
    tg = tg_arr[tg_idx]
    dz = dz_arr[dz_idx]
    print(f'[{i}]年对应的天干地支是[{tg}{dz}]')
